<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-danger" href="#"><i class="icon-lock"></i> 屏蔽</a>
		<a class="btn btn-warning" href="#"><i class="icon-unlock"></i> 解除屏蔽</a>
		<a class="btn btn-success" href="#"><i class="icon-edit"></i> 编辑</a>
	</div>
</div>
<table class="table table-bordered">
	<thead>
		<tr>
			<th>题干</th>
			<th>题目类型</th>
			<th>难度</th>
			<th>创建时间</th>
			<th style="width: 30px; text-align: center;">操作 </th>
		</tr>
	</thead>
	<tbody>
		<#list pageBean.resultList as t>
		<tr class="footable-even" style="display: table-row;">
			<td>${t.content}</td>
			<td><@mte.Problemtype  s=false value=((t.type)!'') /></td>
			<td>${t.tdn}</td>
			<td>${t.ct?string('yyyy-MM-dd')}</td>
			<td style="text-align: center;">
				<div id="tttttt" class="btn-group">
					<button class="btn btn-xs btn-success" onclick="javascript:sys_load_handle('topic-edit_${t.code}'); return false;" title="编辑">
						<i class="icon-edit"></i>
					</button>
					<button class="btn btn-xs btn-danger" onclick="javascript: delete_topic('${t.code}','${t.content}'); return false;" title="删除">
						<i class="icon-remove"></i>
					</button>
				</div>
			</td>
		</tr>
		</#list>
	</tbody>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_topic' />
